package com.it.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DiscretionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DiscretionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDiscretionIdIsNull() {
            addCriterion("discretion_id is null");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdIsNotNull() {
            addCriterion("discretion_id is not null");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdEqualTo(String value) {
            addCriterion("discretion_id =", value, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdNotEqualTo(String value) {
            addCriterion("discretion_id <>", value, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdGreaterThan(String value) {
            addCriterion("discretion_id >", value, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdGreaterThanOrEqualTo(String value) {
            addCriterion("discretion_id >=", value, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdLessThan(String value) {
            addCriterion("discretion_id <", value, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdLessThanOrEqualTo(String value) {
            addCriterion("discretion_id <=", value, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdLike(String value) {
            addCriterion("discretion_id like", value, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdNotLike(String value) {
            addCriterion("discretion_id not like", value, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdIn(List<String> values) {
            addCriterion("discretion_id in", values, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdNotIn(List<String> values) {
            addCriterion("discretion_id not in", values, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdBetween(String value1, String value2) {
            addCriterion("discretion_id between", value1, value2, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionIdNotBetween(String value1, String value2) {
            addCriterion("discretion_id not between", value1, value2, "discretionId");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeIsNull() {
            addCriterion("discretion_code is null");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeIsNotNull() {
            addCriterion("discretion_code is not null");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeEqualTo(String value) {
            addCriterion("discretion_code =", value, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeNotEqualTo(String value) {
            addCriterion("discretion_code <>", value, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeGreaterThan(String value) {
            addCriterion("discretion_code >", value, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeGreaterThanOrEqualTo(String value) {
            addCriterion("discretion_code >=", value, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeLessThan(String value) {
            addCriterion("discretion_code <", value, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeLessThanOrEqualTo(String value) {
            addCriterion("discretion_code <=", value, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeLike(String value) {
            addCriterion("discretion_code like", value, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeNotLike(String value) {
            addCriterion("discretion_code not like", value, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeIn(List<String> values) {
            addCriterion("discretion_code in", values, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeNotIn(List<String> values) {
            addCriterion("discretion_code not in", values, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeBetween(String value1, String value2) {
            addCriterion("discretion_code between", value1, value2, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionCodeNotBetween(String value1, String value2) {
            addCriterion("discretion_code not between", value1, value2, "discretionCode");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitIsNull() {
            addCriterion("discretion_unit is null");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitIsNotNull() {
            addCriterion("discretion_unit is not null");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitEqualTo(String value) {
            addCriterion("discretion_unit =", value, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitNotEqualTo(String value) {
            addCriterion("discretion_unit <>", value, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitGreaterThan(String value) {
            addCriterion("discretion_unit >", value, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitGreaterThanOrEqualTo(String value) {
            addCriterion("discretion_unit >=", value, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitLessThan(String value) {
            addCriterion("discretion_unit <", value, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitLessThanOrEqualTo(String value) {
            addCriterion("discretion_unit <=", value, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitLike(String value) {
            addCriterion("discretion_unit like", value, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitNotLike(String value) {
            addCriterion("discretion_unit not like", value, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitIn(List<String> values) {
            addCriterion("discretion_unit in", values, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitNotIn(List<String> values) {
            addCriterion("discretion_unit not in", values, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitBetween(String value1, String value2) {
            addCriterion("discretion_unit between", value1, value2, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionUnitNotBetween(String value1, String value2) {
            addCriterion("discretion_unit not between", value1, value2, "discretionUnit");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumIsNull() {
            addCriterion("discretion_num is null");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumIsNotNull() {
            addCriterion("discretion_num is not null");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumEqualTo(Integer value) {
            addCriterion("discretion_num =", value, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumNotEqualTo(Integer value) {
            addCriterion("discretion_num <>", value, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumGreaterThan(Integer value) {
            addCriterion("discretion_num >", value, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("discretion_num >=", value, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumLessThan(Integer value) {
            addCriterion("discretion_num <", value, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumLessThanOrEqualTo(Integer value) {
            addCriterion("discretion_num <=", value, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumIn(List<Integer> values) {
            addCriterion("discretion_num in", values, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumNotIn(List<Integer> values) {
            addCriterion("discretion_num not in", values, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumBetween(Integer value1, Integer value2) {
            addCriterion("discretion_num between", value1, value2, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionNumNotBetween(Integer value1, Integer value2) {
            addCriterion("discretion_num not between", value1, value2, "discretionNum");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeIsNull() {
            addCriterion("discretion_type is null");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeIsNotNull() {
            addCriterion("discretion_type is not null");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeEqualTo(String value) {
            addCriterion("discretion_type =", value, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeNotEqualTo(String value) {
            addCriterion("discretion_type <>", value, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeGreaterThan(String value) {
            addCriterion("discretion_type >", value, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeGreaterThanOrEqualTo(String value) {
            addCriterion("discretion_type >=", value, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeLessThan(String value) {
            addCriterion("discretion_type <", value, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeLessThanOrEqualTo(String value) {
            addCriterion("discretion_type <=", value, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeLike(String value) {
            addCriterion("discretion_type like", value, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeNotLike(String value) {
            addCriterion("discretion_type not like", value, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeIn(List<String> values) {
            addCriterion("discretion_type in", values, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeNotIn(List<String> values) {
            addCriterion("discretion_type not in", values, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeBetween(String value1, String value2) {
            addCriterion("discretion_type between", value1, value2, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionTypeNotBetween(String value1, String value2) {
            addCriterion("discretion_type not between", value1, value2, "discretionType");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelIsNull() {
            addCriterion("discretion_del is null");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelIsNotNull() {
            addCriterion("discretion_del is not null");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelEqualTo(Integer value) {
            addCriterion("discretion_del =", value, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelNotEqualTo(Integer value) {
            addCriterion("discretion_del <>", value, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelGreaterThan(Integer value) {
            addCriterion("discretion_del >", value, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("discretion_del >=", value, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelLessThan(Integer value) {
            addCriterion("discretion_del <", value, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelLessThanOrEqualTo(Integer value) {
            addCriterion("discretion_del <=", value, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelIn(List<Integer> values) {
            addCriterion("discretion_del in", values, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelNotIn(List<Integer> values) {
            addCriterion("discretion_del not in", values, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelBetween(Integer value1, Integer value2) {
            addCriterion("discretion_del between", value1, value2, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andDiscretionDelNotBetween(Integer value1, Integer value2) {
            addCriterion("discretion_del not between", value1, value2, "discretionDel");
            return (Criteria) this;
        }

        public Criteria andWasteIdIsNull() {
            addCriterion("waste_id is null");
            return (Criteria) this;
        }

        public Criteria andWasteIdIsNotNull() {
            addCriterion("waste_id is not null");
            return (Criteria) this;
        }

        public Criteria andWasteIdEqualTo(String value) {
            addCriterion("waste_id =", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdNotEqualTo(String value) {
            addCriterion("waste_id <>", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdGreaterThan(String value) {
            addCriterion("waste_id >", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdGreaterThanOrEqualTo(String value) {
            addCriterion("waste_id >=", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdLessThan(String value) {
            addCriterion("waste_id <", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdLessThanOrEqualTo(String value) {
            addCriterion("waste_id <=", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdLike(String value) {
            addCriterion("waste_id like", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdNotLike(String value) {
            addCriterion("waste_id not like", value, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdIn(List<String> values) {
            addCriterion("waste_id in", values, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdNotIn(List<String> values) {
            addCriterion("waste_id not in", values, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdBetween(String value1, String value2) {
            addCriterion("waste_id between", value1, value2, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteIdNotBetween(String value1, String value2) {
            addCriterion("waste_id not between", value1, value2, "wasteId");
            return (Criteria) this;
        }

        public Criteria andWasteCodeIsNull() {
            addCriterion("waste_code is null");
            return (Criteria) this;
        }

        public Criteria andWasteCodeIsNotNull() {
            addCriterion("waste_code is not null");
            return (Criteria) this;
        }

        public Criteria andWasteCodeEqualTo(String value) {
            addCriterion("waste_code =", value, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeNotEqualTo(String value) {
            addCriterion("waste_code <>", value, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeGreaterThan(String value) {
            addCriterion("waste_code >", value, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeGreaterThanOrEqualTo(String value) {
            addCriterion("waste_code >=", value, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeLessThan(String value) {
            addCriterion("waste_code <", value, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeLessThanOrEqualTo(String value) {
            addCriterion("waste_code <=", value, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeLike(String value) {
            addCriterion("waste_code like", value, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeNotLike(String value) {
            addCriterion("waste_code not like", value, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeIn(List<String> values) {
            addCriterion("waste_code in", values, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeNotIn(List<String> values) {
            addCriterion("waste_code not in", values, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeBetween(String value1, String value2) {
            addCriterion("waste_code between", value1, value2, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteCodeNotBetween(String value1, String value2) {
            addCriterion("waste_code not between", value1, value2, "wasteCode");
            return (Criteria) this;
        }

        public Criteria andWasteSourceIsNull() {
            addCriterion("waste_source is null");
            return (Criteria) this;
        }

        public Criteria andWasteSourceIsNotNull() {
            addCriterion("waste_source is not null");
            return (Criteria) this;
        }

        public Criteria andWasteSourceEqualTo(String value) {
            addCriterion("waste_source =", value, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceNotEqualTo(String value) {
            addCriterion("waste_source <>", value, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceGreaterThan(String value) {
            addCriterion("waste_source >", value, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceGreaterThanOrEqualTo(String value) {
            addCriterion("waste_source >=", value, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceLessThan(String value) {
            addCriterion("waste_source <", value, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceLessThanOrEqualTo(String value) {
            addCriterion("waste_source <=", value, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceLike(String value) {
            addCriterion("waste_source like", value, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceNotLike(String value) {
            addCriterion("waste_source not like", value, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceIn(List<String> values) {
            addCriterion("waste_source in", values, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceNotIn(List<String> values) {
            addCriterion("waste_source not in", values, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceBetween(String value1, String value2) {
            addCriterion("waste_source between", value1, value2, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteSourceNotBetween(String value1, String value2) {
            addCriterion("waste_source not between", value1, value2, "wasteSource");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousIsNull() {
            addCriterion("waste_hazardous is null");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousIsNotNull() {
            addCriterion("waste_hazardous is not null");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousEqualTo(String value) {
            addCriterion("waste_hazardous =", value, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousNotEqualTo(String value) {
            addCriterion("waste_hazardous <>", value, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousGreaterThan(String value) {
            addCriterion("waste_hazardous >", value, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousGreaterThanOrEqualTo(String value) {
            addCriterion("waste_hazardous >=", value, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousLessThan(String value) {
            addCriterion("waste_hazardous <", value, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousLessThanOrEqualTo(String value) {
            addCriterion("waste_hazardous <=", value, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousLike(String value) {
            addCriterion("waste_hazardous like", value, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousNotLike(String value) {
            addCriterion("waste_hazardous not like", value, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousIn(List<String> values) {
            addCriterion("waste_hazardous in", values, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousNotIn(List<String> values) {
            addCriterion("waste_hazardous not in", values, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousBetween(String value1, String value2) {
            addCriterion("waste_hazardous between", value1, value2, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteHazardousNotBetween(String value1, String value2) {
            addCriterion("waste_hazardous not between", value1, value2, "wasteHazardous");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameIsNull() {
            addCriterion("waste_commonName is null");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameIsNotNull() {
            addCriterion("waste_commonName is not null");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameEqualTo(String value) {
            addCriterion("waste_commonName =", value, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameNotEqualTo(String value) {
            addCriterion("waste_commonName <>", value, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameGreaterThan(String value) {
            addCriterion("waste_commonName >", value, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameGreaterThanOrEqualTo(String value) {
            addCriterion("waste_commonName >=", value, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameLessThan(String value) {
            addCriterion("waste_commonName <", value, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameLessThanOrEqualTo(String value) {
            addCriterion("waste_commonName <=", value, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameLike(String value) {
            addCriterion("waste_commonName like", value, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameNotLike(String value) {
            addCriterion("waste_commonName not like", value, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameIn(List<String> values) {
            addCriterion("waste_commonName in", values, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameNotIn(List<String> values) {
            addCriterion("waste_commonName not in", values, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameBetween(String value1, String value2) {
            addCriterion("waste_commonName between", value1, value2, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andWasteCommonnameNotBetween(String value1, String value2) {
            addCriterion("waste_commonName not between", value1, value2, "wasteCommonname");
            return (Criteria) this;
        }

        public Criteria andTypeNameIsNull() {
            addCriterion("type_name is null");
            return (Criteria) this;
        }

        public Criteria andTypeNameIsNotNull() {
            addCriterion("type_name is not null");
            return (Criteria) this;
        }

        public Criteria andTypeNameEqualTo(String value) {
            addCriterion("type_name =", value, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameNotEqualTo(String value) {
            addCriterion("type_name <>", value, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameGreaterThan(String value) {
            addCriterion("type_name >", value, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("type_name >=", value, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameLessThan(String value) {
            addCriterion("type_name <", value, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameLessThanOrEqualTo(String value) {
            addCriterion("type_name <=", value, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameLike(String value) {
            addCriterion("type_name like", value, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameNotLike(String value) {
            addCriterion("type_name not like", value, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameIn(List<String> values) {
            addCriterion("type_name in", values, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameNotIn(List<String> values) {
            addCriterion("type_name not in", values, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameBetween(String value1, String value2) {
            addCriterion("type_name between", value1, value2, "typeName");
            return (Criteria) this;
        }

        public Criteria andTypeNameNotBetween(String value1, String value2) {
            addCriterion("type_name not between", value1, value2, "typeName");
            return (Criteria) this;
        }

        public Criteria andContainerIdIsNull() {
            addCriterion("container_id is null");
            return (Criteria) this;
        }

        public Criteria andContainerIdIsNotNull() {
            addCriterion("container_id is not null");
            return (Criteria) this;
        }

        public Criteria andContainerIdEqualTo(String value) {
            addCriterion("container_id =", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdNotEqualTo(String value) {
            addCriterion("container_id <>", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdGreaterThan(String value) {
            addCriterion("container_id >", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdGreaterThanOrEqualTo(String value) {
            addCriterion("container_id >=", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdLessThan(String value) {
            addCriterion("container_id <", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdLessThanOrEqualTo(String value) {
            addCriterion("container_id <=", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdLike(String value) {
            addCriterion("container_id like", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdNotLike(String value) {
            addCriterion("container_id not like", value, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdIn(List<String> values) {
            addCriterion("container_id in", values, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdNotIn(List<String> values) {
            addCriterion("container_id not in", values, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdBetween(String value1, String value2) {
            addCriterion("container_id between", value1, value2, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerIdNotBetween(String value1, String value2) {
            addCriterion("container_id not between", value1, value2, "containerId");
            return (Criteria) this;
        }

        public Criteria andContainerCodeIsNull() {
            addCriterion("container_code is null");
            return (Criteria) this;
        }

        public Criteria andContainerCodeIsNotNull() {
            addCriterion("container_code is not null");
            return (Criteria) this;
        }

        public Criteria andContainerCodeEqualTo(String value) {
            addCriterion("container_code =", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeNotEqualTo(String value) {
            addCriterion("container_code <>", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeGreaterThan(String value) {
            addCriterion("container_code >", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("container_code >=", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeLessThan(String value) {
            addCriterion("container_code <", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeLessThanOrEqualTo(String value) {
            addCriterion("container_code <=", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeLike(String value) {
            addCriterion("container_code like", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeNotLike(String value) {
            addCriterion("container_code not like", value, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeIn(List<String> values) {
            addCriterion("container_code in", values, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeNotIn(List<String> values) {
            addCriterion("container_code not in", values, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeBetween(String value1, String value2) {
            addCriterion("container_code between", value1, value2, "containerCode");
            return (Criteria) this;
        }

        public Criteria andContainerCodeNotBetween(String value1, String value2) {
            addCriterion("container_code not between", value1, value2, "containerCode");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(String value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(String value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(String value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(String value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLike(String value) {
            addCriterion("company_id like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotLike(String value) {
            addCriterion("company_id not like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<String> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<String> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(String value1, String value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(String value1, String value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeIsNull() {
            addCriterion("discretion_time is null");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeIsNotNull() {
            addCriterion("discretion_time is not null");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeEqualTo(Date value) {
            addCriterion("discretion_time =", value, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeNotEqualTo(Date value) {
            addCriterion("discretion_time <>", value, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeGreaterThan(Date value) {
            addCriterion("discretion_time >", value, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("discretion_time >=", value, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeLessThan(Date value) {
            addCriterion("discretion_time <", value, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeLessThanOrEqualTo(Date value) {
            addCriterion("discretion_time <=", value, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeIn(List<Date> values) {
            addCriterion("discretion_time in", values, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeNotIn(List<Date> values) {
            addCriterion("discretion_time not in", values, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeBetween(Date value1, Date value2) {
            addCriterion("discretion_time between", value1, value2, "discretionTime");
            return (Criteria) this;
        }

        public Criteria andDiscretionTimeNotBetween(Date value1, Date value2) {
            addCriterion("discretion_time not between", value1, value2, "discretionTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}